package com.qf.pickname.dao;

import com.qf.pickname.entity.Student;

import java.util.List;

public interface StudentDao {

    public abstract Integer getStudentCount();

    Student getStudentByIndex(Integer index);

    Student getStudentByName(String name);

    void addStudent(String name, String sex);

    /**
     * 是否还有未被点到的学生
     * @return
     */
    boolean hasNextStudent();

    List<Student> getUncheckedStudentList();
}
